package com.tiancikeji.zaoke.app.dao.card;

import com.tiancikeji.zaoke.app.model.card.Card;
import com.tiancikeji.zaoke.app.model.card.CardPromotion;

public interface CardDao {

	public long addCard(Card card);

	public Card getCardByCardId(String cardId, long userId);

	public CardPromotion getActiveCardPromotion(String cardId);

	public boolean updateCardPromotion(long id, long userId);

}
